package com.gitee.feizns.itrip.personal.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.gitee.feizns.itrip.personal.beans.pojo.User;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author feizns
 * @since 2018-12-26
 */
public interface UserMapper extends BaseMapper<User> {

    /**
     * 自注册用户
     */
    int SELF_USER_TYPE = 0;

    /**
     * 微信用户
     */
    int WE_CHAT_USER_TYPE = 1;

    /**
     * QQ用户
     */
    int QQ_USER_TYPE = 2;

    /**
     * 微博用户
     */
    int WEI_BO_USER_TYPE = 3;

    /**
     * 已激活状态
     */
    int ACTIVATED = 1;

    /**
     * 未激活状态
     */
    int INACTIVATED = 0;

}
